package com.yzt.minemodule.wallet.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.yzt.minemodule.R;
import com.yzt.minemodule.wallet.entry.WalletDetailInfoEntry;

/**
 * author : bob
 * date   : 2022/12/1
 * desc   : 资金详情
 */
public class WalletDetailInfoAdapter extends BaseQuickAdapter<WalletDetailInfoEntry, BaseViewHolder> {

    public WalletDetailInfoAdapter() {
        super(R.layout.item_wallet_detail_info);
    }

    @Override
    protected void convert(BaseViewHolder holder, WalletDetailInfoEntry item) {
        holder.setText(R.id.income_label, item.getLabel());
        holder.setText(R.id.income_tv, item.getContent());
    }
}
